package com.kingdee.hackson.dao;

import com.kingdee.hackson.entity.AuthEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IAuthDao {
    List<Long> getIdListByParentPrefixCode(@Param("prefix") String prefixCode);

    void batchInsert(@Param("datas") List<AuthEntity> datas);

    void truncate();

    Long getIdListCountByParentPrefixCode(@Param("prefix") String prefix);

    String queryAuthCodeByOrgId(@Param("orgId") Long orgId);

    String queryStructNumberByOrgId(@Param("orgId") Long orgId);
}
